package com.braisefish.jfxsupport.splashscreen;

import com.braisefish.jfxsupport.ResourceUtil;
import javafx.scene.Parent;
import javafx.scene.control.ProgressBar;
import javafx.scene.image.ImageView;
import javafx.scene.layout.VBox;

public class SplashScreen extends StableSplashScreen {
    private static final String DEFAULT_IMAGE = "splash/javafx.png";

    @Override
    public ImageView createImageView() {
        return new ImageView(ResourceUtil.getResource(getImagePath()).toExternalForm());
    }
    @Override
    public String getImagePath() {
        return DEFAULT_IMAGE;
    }
}
